package variable

object Test1 {
  def main(args: Array[String]): Unit = {
    val t = new Thermometer
    t.celsius = 100
    println(t)
    t.fahrenheit = -40
    println(t)
  }
}
